import request from '@/http/index.js'
//热门城市
export function hotCityList(data) {
  return request({
    url: '/weather/hotCityList',
    method: 'GET',
    data
  })
}
//城市搜索
export function citySearch(data) {
  return request({
    url: '/weather/citySearch',
    method: 'GET',
    data
  })
}

//获取ip
export function getIp(data) {
  return request({
    url: '/index/getIp',
    method: 'GET',
    data
  })
}